package com.java.shop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.java.common.utils.PageUtils;
import com.java.shop.product.entity.SpuInfoEntity;
import com.java.shop.product.vo.SpuInfoVo;
import com.java.shop.product.vo.SpuSaveVo;

import java.util.List;
import java.util.Map;

/**
 * spu
 *
 * @author cxq
 * @email 137512476@qq.com
 * @date 2021-03-26 11:19:52
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo vo);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void spuUpById(Long spuId);

    Map<Long, SpuInfoVo> getSpuInfoBySkuIds(List<Long> skuIds);
}

